#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

int rangeBitwiseAnd(int left, int right);

int main()
{
	return 0;
}

int rangeBitwiseAnd(int left, int right)
{
	while (right > left)
		right &= right - 1;
	return right;
}
